package com.dy.drp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dy
 * @since 2022-04-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_provider")
@ApiModel(value="供应商",description = "这是供应商对象")
public class Provider extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "provider_id", type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long providerId;
    @ApiModelProperty("供应商名称")
    private String providerName;

    @TableField("mainPerson")
    @ApiModelProperty("主要负责人")
    private String mainPerson;

    @TableField("mainPerson_tel")
    @ApiModelProperty("负责人电话")
    private String mainpersonTel;

    @ApiModelProperty("供应商地址")
    private String providerAddress;

    @ApiModelProperty("经营范围")
    private String providerScope;

}
